<?php foreach($images as $key=>$val){?>
		<p>
			<a class="groupimg" href="<?php echo $val->imageURL;?>" title="<?php echo $val->meta_data[0]['title']; ?>">
				<img src="<?php echo $val->thumbURL;?>">
			</a>
		</p>
<?php } ?>
